<?php

use Illuminate\Database\Seeder;
use Illuminate\Support\Facades\DB;

class SendOrderPatternTableSeeder extends Seeder
{
    /**
     * Run the database seeds.
     *
     * @return void
     */
    public function run()
    {
        $insert_data = [
            ['id'=>1, 'service_id'=> 1, 'distance'=> 1, 'level'=>1 ],
            ['id'=>2, 'service_id'=> 1, 'distance'=> 3, 'level'=>2 ],
            ['id'=>3, 'service_id'=> 1, 'distance'=> 5, 'level'=>3 ],
            ['id'=>4, 'service_id'=> 2, 'distance'=> 1, 'level'=>1 ],
            ['id'=>5, 'service_id'=> 2, 'distance'=> 3, 'level'=>2 ],
            ['id'=>6, 'service_id'=> 2, 'distance'=> 5, 'level'=>3 ],
            ['id'=>7, 'service_id'=> 3, 'distance'=> 1, 'level'=>1 ],
            ['id'=>8, 'service_id'=> 3, 'distance'=> 3, 'level'=>2 ],
            ['id'=>9, 'service_id'=> 3, 'distance'=> 5, 'level'=>3 ],
        ];
        DB::table('send_order_pattern')->insert($insert_data);
    }
}
